<template>
	<view id="bussiness">
		<!-- 背景半椭圆 -->
		<view id="background-top" />
		
		<!-- 广告板块 -->
		<view class="swiper">
			<image src="../../../static/img/swiper/swiper0.jpg" mode="scaleToFill"></image>
		</view>
		
		<!-- 商业理念介绍 -->
		<view class="bussiness-introduction">
			<view class="title">
				平台商业理念介绍
			</view>
			<view class="introduction-list">
				<view class="introduction-item" v-for="item in 3" :key="item">
					理念{{item}}
				</view>
			</view>
		</view>
		
		<!-- 助农兴农商业知识小科普 -->
		<view class="bussiness-introduction">
			<view class="title">
				助农兴农商业知识小科普
			</view>
			<view class="introduction-list">
				<view class="introduction-item" v-for="item in 3" :key="item">
					知识{{item}}
				</view>
			</view>
		</view>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				searchValue:''
			}; 
		},
		methods:{
			toSearch(){
				
			}
		}
	}
</script>

<style lang="scss" scoped>
	#background-top{
		margin: 0!important;
		position: absolute;
		top: 0;
		left: 0;
		width: 100%;
		height: 150px;
		background-color: #ec3525;
		border-radius: 0 0 30% 30%;
		z-index: -10;
	}
	#bussiness{
		margin-top: 10px;
		>view{
			margin: 0 10px;
		}
		
		// 广告板块
		.swiper{
			margin-top: 10px;
			border-radius: 10px;
			overflow: hidden;
			
			
			>image{
				width: 100%;
				height: 150px;
				border-radius: 10px;
			}
		}
		
		// 商业理念介绍
		.bussiness-introduction{
			margin-top: 10px;
			padding: 10px;
			background-color: #fff;
			border-radius: 8px;
			box-shadow: 0 0 5px 0 rgba(0, 0, 0, 0.08);
			
			.title{
				font-size: 18px;
				color: #909399;
				text-align: center;
				padding-bottom: 5px;
				font-weight: bold;
				background-color: #fff;
				width: 100%;
			}
			
			.introduction-list{
				margin-left: 20px;
				display: flex;
				flex-direction: column;
				
				.introduction-item{
					position: relative;
					margin: 5px 0;
					font-size: 16px;
					color: #3a3a3a;
					
					&::before{
						position: absolute;
						content: '·';
						top: 0;
						bottom: 0;
						font-size: 20px;
						line-height: 20px;
						font-weight: bold;
						left: -1em;
						margin: auto 0;
					}
				}
				
			}
		}
	}
</style>
